import re

env_dict = {'if':'0x3f'}
env_input = 'aa'
while env_input != '': 
  env_input = input()
  if len(env_input)==1:
    env_dict.update({hex(ord(env_input)):env_input})
  print(env_dict)